import time

from interface import chuankou

d = chuankou.CLuster_SerialPortManage()
print(d.Init())
#print(d.CreateSerialPort("COM3"))
print(d.CreateSerialPort("COM4"))

time.sleep(3)


print(d.WriteSerialPort("COM4","kk" ))

time.sleep(3)


#print(d.ReadSerialPort("COM4","hh"))
time.sleep(5)
#print(d.ReadSerialPort("COM3","kk"))
